import Vue from 'vue'
import Vuex from 'vuex'

// 引入模块仓库
import { app, user, permission } from './modules'

// 引入getters
import getters from './getters.js'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    app,
    user,
    permission
  },
  getters
})
